package com.rem.hutool.my5Utils;

import cn.hutool.core.util.ObjectUtil;

import java.util.HashSet;
import java.util.Set;

/**
 * 对象工具
 *
 * @author Rem
 * @date 2020-08-21
 */

public class ObjectUtilDemo {
    public static void main(String[] args) {
        boolean equal = ObjectUtil.equal("1", 1);
        Set set = new HashSet<String>();
        set.add("aaa");
        boolean notEmpty = ObjectUtil.isNotEmpty(set);
        Set clone = ObjectUtil.clone(set);
        int length = ObjectUtil.length(clone);

        System.err.println(length);
        System.err.println(clone);
        System.err.println(notEmpty);
        System.err.println(equal);
    }
}
